package com.example.malltest.client.service;


import com.example.malltest.admin.entity.Admin;
import com.example.malltest.client.entity.Client;
import com.example.malltest.client.entity.ClientDTO;
import com.example.malltest.client.entity.ClientDTO1;
import com.example.malltest.client.entity.ClientPwd;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ClientService {

    List<Client> getList();

    void add(ClientDTO clientDTO);

    Client login(ClientPwd clientPwd);

    void delete(Integer id);

    void edit(Integer id, ClientDTO1 clientDTO1);

    void status(Integer id, String status);

    Client getClient(String name);

    void change(String name, Client client);

    void updatePwd(String name, String oldPassword, String newPassword);
}
